<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<?php 
?>

<head>

<script>
	baseUrl = "<?php echo $this->mylibrary->getAddressJScalls();?>";
</script>

	<title><?php echo "$website_title";?></title>
	
	<?php 
	
		// load yui2 reset
		$this->carabiner->display('YUI2_RESET');
	
		// fullcalendar needs this jquery version	
		if (in_array('jquery_1.6.4', $libraries))
			$this->carabiner->display('jquery_1.6.4'); 	 
		
		// last jquery version
		if (in_array('jquery', $libraries))
			$this->carabiner->display('jquery');

		// js and css files (redmond theme only ... for now)
		if (in_array('jqueryui', $libraries))	
			$this->carabiner->display('jqueryui');
		
		// local assets
		$this->carabiner->display('css');			
		$this->carabiner->display('js');
	?>
</head>


<body>
	<div id="header">
				
		<div id="title"> <?php echo $title;?> </div>
		
		<div id="subtitle"> 	
			<?php echo $login; 	?>		
		</div>
		
		<div id="language">
			<?php echo $switch_lang; ?>
		</div>	
		
	</div>
	
	<div id="menu">
		<? echo $menu; ?>
	</div>